package vip.source.pattern.part06.improve.service.impl;

import vip.source.pattern.part06.base.service.ExternalOrderService;
import vip.source.pattern.part06.improve.service.OrderAdapterService;

public class ExternalAdapterServiceImpl implements OrderAdapterService {

    private ExternalOrderService externalOrderService = new ExternalOrderService();

    @Override
    public boolean isFirst(String uId) {
        return externalOrderService.isFirstOrder(uId);
    }
}
